﻿<UserControl
	x:Class="MVVMtutorial.Dialog3"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:me="clr-namespace:MVVMtutorial"
	xmlns:MVVMSL="clr-namespace:Riba.MVVMSL;assembly=RibaMVVMSL"
	mc:Ignorable="d" d:DesignHeight="150" d:DesignWidth="400"
>
	<UserControl.DataContext>
		<me:Dialog3ViewModel />
	</UserControl.DataContext>

	<Border Background="PaleGreen">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="30" />
				<RowDefinition Height="Auto" />
				<RowDefinition Height="Auto" />
				<RowDefinition Height="*" />
				<RowDefinition Height="24" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="100" />
				<ColumnDefinition />
			</Grid.ColumnDefinitions>

			<TextBlock Text="Dialog3" />

			<TextBlock Text="PrivateData" Grid.Row="1" />
			<TextBox
				Text="{Binding PrivateData, Mode=TwoWay}"
				Grid.Row="1"
				Grid.Column="1"
			/>

			<TextBlock Text="ExchangeData" Grid.Row="2" />
			<TextBox
				Text="{Binding ExchangeData, Mode=TwoWay}"
				Grid.Row="2"
				Grid.Column="1"
			/>

			<TextBlock Text="Wizard" Grid.Row="3" />
			<MVVMSL:NavigatorControl Grid.Row="3" Grid.Column="1" />

			<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="4" Grid.Column="1">
				<Button Content="Zurück" Command="{Binding CommandBack}" />
				<Button Content="Weiter" Command="{Binding CommandForward}" />
			</StackPanel>
		</Grid>
	</Border>
</UserControl>
